package com.yinuo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @RequestMapping("/helloworld")
    public String test(){
        System.out.println("执行了……");
        return "helloworld";
    }

    public static void main(String[] args) {
        String ss = "service/modular/111/222";
        System.out.println(ss.substring(ss.indexOf("modular/")));
    }
}